package 作业;

public class 找最大值 {

    public static void main(String[] args) {
        int a = getMax(10,20);



        System.out.println(a);
    }
    public static int getMax(int a,int b){
        if (a>b){
            return a;
        }else {
            return b;
        }

    }
}
